package com.sdp.wx.db.wx_wz_input_detail.mapper;

import com.sdp.wx.db.wx_wz_input_detail.entity.WxWzInputDetail;
import com.sdp.wx.view.WxWzInputView;

import java.util.List;

import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.session.ResultHandler;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.core.toolkit.Constants;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author zsp
 * @since 2024-01-26
 */
public interface WxWzInputDetailMapper extends BaseMapper<WxWzInputDetail> {

	<T> List<T> viewList(@Param(value = Constants.WRAPPER) QueryWrapper<T> queryWrapper);

	<T>int viewCount(@Param(value = Constants.WRAPPER) QueryWrapper<T> queryWrapper);

	<T> IPage<T> viewPage(IPage<T> page, @Param(value = Constants.WRAPPER) QueryWrapper<T> queryWrapper);
	
	void queryInputInfo(@Param(value = Constants.WRAPPER) QueryWrapper<WxWzInputView> queryWrapper,ResultHandler<WxWzInputView> handler);
}
